package cn.maihe.elg.operation.model.bo;

import cn.maihe.elg.operation.centers.hymake.dto.handler.FilePushReqDTO;
import cn.maihe.elg.operation.model.enums.CenterNoEnum;
import cn.maihe.elg.operation.model.enums.GuaranteeCategory;
import cn.maihe.elg.operation.model.enums.GuaranteeType;
import cn.maihe.elg.operation.model.enums.InstitutionOrgCodeEnum;
import cn.maihe.elg.operation.repository.entity.*;
import lombok.Builder;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Description
 * @Author WJH
 * @Date 2021/04/25
 */
@Data
@Builder
public class BidderCustomerBO {

    /**
     * 中心ID
     */
    @NotNull(message = "centerId不能为空")
    private Long centerId;
    /**
     * 机构ID
     */
    @NotNull(message = "orgId不能为空")
    private Long orgId;

    @NotNull(message = "投标客户不能为空")
    @Valid
    private BidCustomerDO bidCustomer;

    @NotNull(message="投标人信息不能为空")
    @Valid
    private UserDO userDO;

}
